package com.spa.infrastructure.mapper;

import com.spa.domain.entity.OrderExt;
import com.spa.infrastructure.repository.po.OrderExtPO;
import org.mapstruct.Mapper;
import org.mapstruct.MapperConfig;
import org.mapstruct.ReportingPolicy;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
@MapperConfig(unmappedTargetPolicy = ReportingPolicy.WARN)
public interface OrderExtMapperStruct {

    OrderExtMapperStruct INSTANCE = Mappers.getMapper(OrderExtMapperStruct.class);

    List<OrderExt> po2Entity4List(List<OrderExtPO> po);

}
